import Layout from '@/layout'
export default {
  path: '/subject',
  component: Layout,
  name: 'subject',
  redirect: '/subject/subject',
  meta: {
    title: '学科管理',
    icon: 'setting'
  },
  children: [
    {
      path: 'subject',
      name: 'subject',
      component: () => import('@/views/subject/subject'),
      meta: {
        title: '学科信息',
        icon: 'menu'
      }
    },
    {
      path: 'directory',
      name: 'directory',
      component: () => import('@/views/subject/directory'),
      meta: {
        title: '目录信息',
        icon: 'example'
      }
    },
    {
      path: 'tag',
      name: 'tag',
      component: () => import('@/views/subject/tag'),
      meta: {
        title: '标签信息',
        icon: 'form'
      }
    }
  ]
}
